window: Reset on unhandled gestures right away
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 17 Sep 2015 21:22:39 +0000 (23:22 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 18 Sep 2015 10:51:22 +0000 (12:51 +0200)
commite3bd895667a1dbecaae50a0e2911ed1319111f79
tree84124958a1e9d69a9cf5242582f15a5ebac1b4a0
parent15d043c5d239facb99fa776c100f520c350562fb
window: Reset on unhandled gestures right away

Traditionally a sequence is set to GTK_EVENT_SEQUENCE_DENIED state when
it is to be ignored, which means it is dormant, but still managed by the
gesture (accounting, "denied" sequences still make "slots" in multitouch
gesture busy, etc...).

This gesture will run for all button presses and releases in the window
though when presses happen on the "window content" region, and we can't
account for every children to be as educated as setting the proper mask
on every window, or ensuring events will be propagated as they should.

In order to cater for this, just reset the gestures, we can live without
such accounting in these specific GtkGestureSingle gestures.

https://bugzilla.gnome.org/show_bug.cgi?id=754098
gtk/gtkwindow.c